
#include "SQLAggregateOption.h"

SQLAggregateOption_ptr SQLAggregateOption::DISTINCT = SQLAggregateOption_ptr(new SQLAggregateOption(1ULL << 0, make_string_ptr("DISTINCT")));
SQLAggregateOption_ptr SQLAggregateOption::ALL = SQLAggregateOption_ptr(new SQLAggregateOption(1ULL << 1, make_string_ptr("ALL")));
SQLAggregateOption_ptr SQLAggregateOption::UNIQUE = SQLAggregateOption_ptr(new SQLAggregateOption(1ULL << 2, make_string_ptr("UNIQUE")));
SQLAggregateOption_ptr SQLAggregateOption::DEDUPLICATION = SQLAggregateOption_ptr(new SQLAggregateOption(1ULL << 3, make_string_ptr("DEDUPLICATION"))); // just for nut

SQLAggregateOption::SQLAggregateOption(uint64_t mask, string_ptr name)
{
  this->mask = mask;
  this->name = name;
}

